// 经理子类
public class Manager extends Employee {
    private double fixedSalary;

    public Manager(String name, String gender, String birthDate, double fixedSalary) {
        super(name, gender, birthDate);
        this.fixedSalary = fixedSalary;
    }

    @Override
    public String getType() {
        return "经理";
    }

    @Override
    public void computeSalary() {
        System.out.println(getType() + " " + name + " 本月工资为 " + fixedSalary + " 元。");
    }
}
    